function submit() {

   /* var form =  document.getElementById("search");*/
    var val =   $('#search-input').val();
    window.open("/sysadmin/block/browser/"+val,"_self");
    //if(val.replace(/^\s+|\s+$/g,"")!=''){

       /* form.action="/sysadmin/block/browser/"+val;
        form.submit();*/
   // }
}


function reset() {

    var form =  document.getElementById("search");
      $('#search-input').val("");



    form.action="/sysadmin/block/browser";
    form.submit();

}


(function(KIT, RES) {
    "use strict";


    rapid.Page.create()().on("load", function() {

        $(".wrapper .tab-item").click(function () {
            $(".products .main").eq($(this).index()).show().siblings().hide();
        });

        $(".wrapper1 .tab-block").click(function () {
            $(".products1 .main1").eq($(this).index()).show().siblings().hide();
        });

    }).init();



})(rapid.kit, rapid.res);
